<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Job>" %>
<%@ Import Namespace="RecruitmentAgency.Models.DataTypes"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Connections - Delete job position
</asp:Content>

<asp:Content ID="MenuLinks" ContentPlaceHolderID="PageMenu" runat="server">
    <div class="centre">
        <div class="subMenuButton rightEnd" onmouseover="swapBgImage(this)" onclick="javascript:location.href='/Job/ViewJobs'" onmouseout="swapBgImage(this)">Search jobs</div>
    </div>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm(new { UserId = Model.JobId})) { %>
        <div class="panelTop"></div>
        <div id="panelMiddle" class="padLR20">
            <div class="titleLabel">Delete job position</div>
            Are you sure that you want to permanently delete the entry for <%= Model.JobTitle %>?<br /><br />
            <div class="formColumn">
                <input type="button" class="formButton" value="Cancel delete" onclick="location.href='/Job/ViewJobs'" />
            </div>
            <div class="formColumn">
                <input type="submit" class="formButton" value="Delete job position" />
            </div>
        </div>
        <div class="panelBottom"></div>
    <% } %>
</asp:Content>